package cc.chinagps.gateway.client.packet;

import io.netty.buffer.ByteBuf;
import lombok.Data;

@Data
public class ResponsePacket {
    private int data;
    private long createTime = -1;

    public void decode(ByteBuf buf) throws Exception {
        data = buf.readByte();
        createTime = System.currentTimeMillis();
    }
}
